#ifndef __COURSE_SUBMS_H
#define __COURSE_SUBMS_H

#include "abstractms.h"
#include "courseinfo.h"

class CourseMS: public AbstractMS
{
public:
    CourseMS();

    void openFile();
    void saveFile();
    void showMenu();
    int execSystem(void);

    void addInfo(void);
    void findInfo(void);
    void modifyInfo(void);
    void deleteInfo(void);
    void showInfos(void);

private:
    CourseInfoList m_infoList;
    CourseInfoList::iterator m_iter;
};

#endif // COURSE_SUBMS_H
